import request from "@/utils/request";

//查询来料单
export function listLld(data) {
  return request({
    url: "/system/material/list",
    method: "get",
    params: data,
  });
}
//新增来料单
export function addLld(data) {
  return request({
    url: "/system/material",
    method: "post",
    data,
  });
}
//修改来料单
export function editLld(data) {
  return request({
    url: "/system/material",
    method: "put",
    data,
  });
}
//删除来料单
export function delLld(id) {
  return request({
    url: "/system/material/"+ id,
    method: "delete" ,
  });
}


